cc.Class({
    extends: cc.Component,

    properties: {
       percentLabel:{
         default: null,
         type: cc.Label
       },
    },

    updataPercent(percent){
       if (this.percentLabel) {
         this.percentLabel.string = percent+"%";
       }
    },

});
